package cn.dlc.com.config;

import org.springframework.context.annotation.ImportSelector;
import org.springframework.core.type.AnnotationMetadata;

public class UserImportSelector implements ImportSelector {

    @Override
    public String[] selectImports(AnnotationMetadata importingClassMetadata) {
        // 返回这个UserConfiguration对象，提供一个User。
        return new String[]{UserConfiguration.class.getName()};
    }
}
